package com.fasteat.mall.config;

/**
 * @author 白sa能
 * @className
 * @date Created in 2:28 PM 2/10/21
 * @package com.fasteat.mall.config
 * @Description
 */
public class AlipayConfig {
    // 1.商户appid,使用商户自己的appid即可
//    public static String APPID = "2021002127678363";
    //沙箱appId，正式上线使用上面的
    public static String APPID = "2021000117605776";
    //2.私钥 pkcs8格式的，与在支付宝存储的公钥对应
    //沙箱
    public static String APP_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC3UOMKLMRbOoH3dLhJmvD3rBV9dzTLqucs3MWq37NC7ahZjcazlLp3MVQMTcKzr/l7YOAXCcjzByeqbxfV3lsCJgxxu4n6dhnVNqXNcL0faqoGvx981h/YjtSZfawgg2InkfwhQyIKvMk4ztmwj1aaqK04fLA6G1Zlom85GdIj1vQ3zvzySzLi7h4P+NSV/yfRCxCrRJSB0TAwGWmJ4p+AiHXu+O/q79MEnBtgjNAIz/kNicieWq0FkdegJVdb9PuG2IeUlkpHECkqSDWmJY6KW7Y3OiBWGfM/49mZyi/TFoqOJQJr/FEVp+xicBF6ZPdAZHRVmARFfAvy2vpvQlIlAgMBAAECggEAVusRW6eySpdJPG2pW60NiEGdxumYrOERz6G2T7jVpGxPIHcqucdRSmanNVZBdTWBE1Dxr7rB/wlrc1JNeOh/OluUFvEXERyiTwgkQW6tHZJTn/NLGMPmQaYng8ekr53cEmsToynToEe3GSpq6V5tb9N+noPwgvynUHVeSzLFApyBBwFTtOxEmuEcUIjMcGoIVLwKSqrn8uQbFGUstIkJ8gnMRPgf4EnxKSGbJ0Y3MYi9m8NMNcSpfYkQF5c3lGy8jNv1IUvaUeGyxJYJJMvIWeBtn0uEzMPtbeZmoh2p5/bdJ4WMmxW0UmgUxM1Y+Rs0t5PYFeoRPGXVTccGlcYVgQKBgQDqiEERoUtrmA9AR6AsQYc37RZN0Un8x01EUsH7dKMvhOfJQk6vQnwYcqxrB2nx9NwVBfvmsk7V51Gj0YN+2JBpgkI4HL3iVVJ42z7emDgGLtBZm4L7ovVakipz8sYhkI34ySrbM3qgBvPIONyuhaGk2qXFcEKhhPI6MCJ5VlBD9QKBgQDIGH3/KzwJu+Mj9dAn3en/8vJpuP+6dp0uNmm6BuYL/irMBgP2NmJ7bBD4Oq0BTrFp9xpY8RCCZJG3VgcaPf1vH5aj2hrX+ORJ2on1zS7SHEzNsNiCEkpcD9hNm8a2YC90JBeHwMic1ujwkPd37WV4sxUS5T/5EOt61Q6Cm1IncQKBgQDMtFSnALOFm9lj76B8QE23oLZhAZWkjoiAZANwaSOt7EErRzbKfis2Y5DeckAkseYOa4SsnWF2DksRw2MUqg2SKeGGfH+4N2SenC7Jtu7fZqjwLW4sGNYyUXXAclxBG5zvUxaW8N3NI4RQdGEZ6wVlkHo0VIGz3QhXhX/xjEbOqQKBgD0PdEuMxvp1coADwCyaRJENczod8TPWhGqYwjS5bDQWsLqnz0ewGuds99S4Gxk+CVe7xzeDALW5uNnIj8xLRG5HpnGD2hMz6X48CUOQBIyrhCh0oe03ZaeoUiqEsePvgCuh4+hSRSXPUzAuHMZlFET76R9mA9qedi16nL3wZeaRAoGAZk17maaAQxVDDWLrhG4P51ezm5WQKzmDqptGY7BAvyVZyBOtjOyx2jgX5RRnNYLnSvmeuG0Ex4NiPkDxRoWnWASytcL9asRcweq8e9b/thOytSoQjQgnWOFSbb+DutIR0VyFSfZ3Yn3WOIyWBFJ2jVJjNjxbp4wTJdpgtKwS56s=";

    // 3.支付宝公钥，支付宝生成的公钥，切勿与商户公钥混淆
//    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlvm2DdS89ftmtu7MDOXoqQuRnk7zdGAo5ckFHUQtm/owjQpBRO2ZIv3YZmSp/TGQcSq4oRD6mHxV9m/NHw5+fpK4kcGpIYxOCz2Yx6k0yzdfxw62/I0lCl1h9Fk9ikUhB/4T4BRPlhAwWjD29U6/LIVn1lXYf9lwwa/g1d/CfZvVAxGH9u0Gj9jAvrhtOQ/PlitDo+BwlELhjDADm66hjKDkVOCz+L1Kk8plKDIjc7E4CVtcB107eu9LO4dkIXBVXKY5agzAutuCYPLj4YMj8irWPIVl324zTVlfU04HhEJTVN7GMhElj//R2dhsVn9XzcLTm7Nu3AeR8bTV6VXbVwIDAQAB";
    //沙箱
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqqZLoUJMnn6XEq/HKl7VCa5kcQIt0WN/BrFAWKuwpIQ/eS94gZTfUgbeRUVI9lbGfWZ8Rtsrzru43I07it9UgzUXTqGRsHunKXdSpN25HVTsTO57Rn2UJTI7bAhxQuiT7VELmhx2n6Zh3xVPZgkehQz54wesldZuDFwloC9V4nsPo8xYT0LS6mSiGcdtP2ygcPO7NlZX3WPIfbmUgYvC6J7J7LffoD4j2qiD/HGWGLlxsJ6CK4++deYrJjaVv2N08aVtRPV8fU4SRF30qTkWg4rhEE4wYC7Ovz3S+/hK6ShbRNVHlAu5RMU/3Azxf7VgFvq7kvQlMEK/9Z9M1EJOjQIDAQAB";
    //这个着重讲一下..支付完成后,支付宝会通过这个url请求到你的服务端..
    //这个url一定是要公网可以访问才行...如果需要测试的话..我后面有讲到..
    // 这里你可以先写你本地项目的url 例如:localhost:8080/项目名/访问路径
    // 4.服务器异步通知页面路径 需http://或者https://格式的完整路径，必须外网可以正常访问，可以使用natapp进行外网映射
//    public static String notify_url = "http://2rza5e.natappfree.cc/apis/pay/asyncNotify";
    public static String notify_url = "http:119.23.218.131:9504/mall/payment/aliNotify";

    //5.页面跳转同步通知页面路径 需http://或者https://格式的完整路径，必须外网可以正常访问 商户可以自定义同步跳转地址
    public static String return_url = "http://www.xxx.com/alipay/return_url.do";

    // 6.请求支付宝的网关地址,此处为沙箱测试地址，正式环境替换即可
    //正式环境支付宝网关，如果是沙箱环境需更改成https://openapi.alipaydev.com/gateway.do
//    public static String URL = "https://openapi.alipay.com/gateway.do";
    public static String URL = "https://openapi.alipaydev.com/gateway.do";

    // 7.编码
    public static String CHARSET = "UTF-8";

    // 8.返回格式
    public static String FORMAT = "json";

    // 9.加密类型
    public static String SIGNTYPE = "RSA2";
}
